#ifndef INSTDRV_H
#define INSTDRV_H

#include <QtGui/QMainWindow>

#include "DriverLoader.h"

#include "ui_instdrv.h"

class InstDrv : public QMainWindow
{
	Q_OBJECT

public:
	InstDrv(QWidget *parent = 0, Qt::WFlags flags = 0);
	~InstDrv();

private:
	Ui::InstDrvClass ui;
	CDriverLoader drvLoader;
	HANDLE Device;

private slots:
	void on_pushButtonChoose_clicked();

	void on_pushButtonInstall_clicked();
	void on_pushButtonStart_clicked();
	void on_pushButtonStop_clicked();
	void on_pushButtonRemove_clicked();

	void on_pushButtonOpenDevice_clicked();
	void on_pushButtonCloseDevice_clicked();
};

#endif // INSTDRV_H
